package com.njtoyo.taxi.admin.rest.presenter.local_service.platform;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class MerchantCategoryPagePresenter {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "运营区名称")
    private String name;

    @ApiModelProperty(value = "地区表ID")
    private List<MerchantCategoryArea> area;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;

    @Data
    public static class MerchantCategoryArea {

        @ApiModelProperty(value = "运营区")
        private Long merchantRegionId;

        @ApiModelProperty(value = "地区表id")
        private Long areaIds;

        @ApiModelProperty(value = "运营区名称")
        private String merchantRegionName;
    }
}
